package com.liu.user.exception;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserLoginException extends  RuntimeException {

    private int code;

    private String msg;

    public UserLoginException() {
        super();
    }

    public UserLoginException(String msg) {
        super(msg);
        this.msg=msg;
    }

    public UserLoginException(String msg,int code) {
        super(msg);
        this.msg=msg;
        this.code = code;
    }

    public UserLoginException(String msg, int code, Throwable e) {
        super(msg, e);
        this.msg = msg;
        this.code = code;
    }

}
